[paket]
tanim   = JSON C gerçeklemesi
paketci = milisarge
grup 	= kütüphane
url     = https://github.com/json-c/json-c/wiki
arsiv   = .

[gerek]
derleme = cmake
calisma =

[kaynak]
gz      = https://s3.amazonaws.com/json-c_releases/releases

[sha256]
1 		= 8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b

[derle]
betik   = CFLAGS+=" $CPPFLAGS"
betik   = CXXFLAGS+=" $CPPFLAGS"
betik   = cmake -Hjson-c-$surum -Bbuild -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DENABLE_THREADING=ON -DENABLE_RDRAND=OFF
betik   = cmake --build build
	      
[pakur]
betik   = DESTDIR="$PKG" cmake --build build --target install
